<?php
	$total = $groups['total'];
	$results = $groups['results'];
	$dataR = Set::extract($results, "{n}.Group"); 
 
	echo '{"total":"'.$total.'","results":'.json_encode($dataR).'}';
?>